import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import drag from "@/util/drag";
import VueContextMenu from 'vue-contextmenu'
import * as echarts from 'echarts';
// import VueSocketIO from "vue-socket.io";
import Clipboard from 'clipboard';
import animated from 'animate.css'
import axios from 'axios'
import VueAxios from 'vue-axios'
import uploader from "vue-simple-uploader";

Vue.use(VueAxios, axios)
Vue.use(uploader)
Vue.use(animated)

Vue.prototype.$echarts = echarts


Vue.use(VueContextMenu)

Vue.config.productionTip = false

Vue.prototype.$clipboard = Clipboard;

Vue.use(ElementUI)
Vue.directive("drag", drag)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

console.log("当前屏幕分辨率：" + window.screen.availWidth + "*" + window.screen.availHeight)


